package com.hua.designpattern.structural.facade;

public class DrawFacade {
	private Circle circle;
	private Rectangle rectangle;
	private Square square;

	public DrawFacade() {
		circle = new Circle();
		rectangle = new Rectangle();
		square = new Square();
	}

	public void drawCircle() {
		circle.draw();
	}

	public void drawCircle(String name) {
		circle.drawCircle(name);
	}

	public void drawRectangle(int id) {
		rectangle.drawRectangle(id);
	}

	public void drawSquare() {
		square.drawSquare();
	}
}
